-- GENERATED SPELL FOR [Fallen Ranger] --


function spell0_16314(pUnit, Event) --@Banshee Wail,n/a--
pUnit:FullCastSpellOnTarget(28993,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16314', 1500, 1)
end

function Sorts_16314(pUnit, Event)
local choix_sorts_16314 = math.random(0, 0)
if choix_sorts_16314 == 0 then
pUnit:RegisterEvent('spell0_16314', 1, 1)
end
end

function mob16314_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16314', math.random(1500, 3000), 1)
end

function mob16314_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16314_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16314_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16314, 1, 'mob16314_Action')
RegisterUnitEvent(16314, 2, 'mob16314_Leave')
RegisterUnitEvent(16314, 3, 'mob16314_Kill')
RegisterUnitEvent(16314, 4, 'mob16314_Die')
